#ifndef __DRV__CFG_TOOL_H__
#define __DRV__CFG_TOOL_H__

#include <stdint.h>
#include <stddef.h>

typedef struct _WiFi_Config_t {
  uint8_t WiFi_mode;
  char client_ssid[32];
  char client_password[32];
  char ap_ssid[32];
  char ap_password[32];
} WiFi_Config_t;

typedef struct _MQTT_Config_t {
  char url[32];
  uint16_t port;
  char username[32];
  char password[32];
} MQTT_Config_t;

bool drv_cfg_tool_init(void);
bool cfg_read_config_from_spiffs(void);

#endif
